-
Notifications
You must be signed in to change notification settings - Fork 33
Add support for arm64 image #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request adds multi-architecture Docker image support, enabling the cloudstack-kubernetes-provider to run on both AMD64 and ARM64 platforms. The changes implement cross-platform building using Docker Buildx and update the CI/CD pipeline to build and push multi-arch images.
Key changes include:
- Modified Dockerfile to support cross-compilation with platform-specific build arguments
- Updated GitHub Actions workflow to use Docker Buildx for multi-platform builds
- Added registry-based layer caching to optimize build times
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| Dockerfile | Added build platform arguments and configured cross-compilation for Go builds targeting both amd64 and arm64 architectures |
| .github/workflows/build-docker-image.yml | Replaced simple docker build/push commands with Docker Buildx setup and multi-platform build-push action, including registry cache optimization |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
48999fc to
26ac0f2
Compare
26ac0f2 to
268a6ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Pearl1594
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm. Just a few questions to understand a few changes.
Fixes #80